﻿<div class="modal fade" ng-class="{'in':$visible}" ng-show="$visible" style="display:block;">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" ng-click="$close()"><span>×</span><span class="sr-only">Close</span></button>
                <h4 class="modal-title" ng-bind="$title"></h4>
            </div>
            <!--内容区域开始-->
            <form class="form-horizontal" name="_form" ng-submit="$parent.SaveCommentReply($close)" novalidate>
                <div class="modal-body" style="overflow:auto;" ng-style="{'height':$height}">
                    <div style="width:100%">
                        <div class="form-group">
                            <label class="col-sm-4 control-label">ID:</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" name="ID" ng-model="$parent.CommentReplyModel.ID"  ng-disabled="true">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-4 control-label">CommentsID(<lredstar></lredstar>):</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" name="CommentsID" ng-model="$parent.CommentReplyModel.CommentsID" required >
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-4 control-label">ReplyContent(<lredstar></lredstar>):</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" name="ReplyContent" ng-model="$parent.CommentReplyModel.ReplyContent" required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-4 control-label">Tel(<lredstar></lredstar>):</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" name="Tel" ng-model="$parent.CommentReplyModel.Tel" required >
                            </div>
                        </div>
                        <!--<div class="form-group">
                            <label class="col-sm-4 control-label">性别:</label>
                            <div class="col-sm-8">
                                <div class="btn-group">
                                    <a class="btn btn-default" ng-click="$parent.CustomerDialog_Customer.Gender='M'" ng-class="{'active':$parent.CustomerDialog_Customer.Gender=='M'}">男性</a>
                                    <a class="btn btn-default" ng-click="$parent.CustomerDialog_Customer.Gender='F'" ng-class="{'active':$parent.CustomerDialog_Customer.Gender=='F'}">女性</a>
                                </div>
                            </div>
                        </div>-->
              
                        <div class="form-group" ng-init="$parent.CommentReplyModel.ViewDel = 0">
                            <label class="col-sm-4 control-label">ViewDel:</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" name="ViewDel" ng-model="$parent.CommentReplyModel.ViewDel" required>
                            </div>
                        </div>

                        <div class="form-group" ng-init="$parent.CommentReplyModel.CreateLoginID = 0">
                            <label class="col-sm-4 control-label">CreateLoginID:</label>
                            <div class="col-sm-8">
                                <input type="text" name="CreateLoginID" class="form-control"  ng-model="$parent.CommentReplyModel.CreateLoginID" required>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-4 control-label">CreateLoginName:</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" name="CreateLoginName" ng-model="$parent.CommentReplyModel.CreateLoginName" required>
                            </div>
                        </div>
                        <div class="form-group">
                             <label class="col-sm-4 control-label">CreateDate:</label>
                             <div class="col-sm-8">
                                 <input type="text" name="CreateDate" ldatetimepicker ng-model="$parent.CommentReplyModel.CreateDate" required>
                             </div>
                            </div>
                        <div class="form-group" ng-init="$parent.CommentReplyModel.ChangeLoginID=0">
                            <label class="col-sm-4 control-label">ChangeLoginID:</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" name="ChangeLoginID" ng-model="$parent.CommentReplyModel.ChangeLoginID" required>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-4 control-label">ChangeLoginName:</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" name="ChangeLoginName" ng-model="$parent.CommentReplyModel.ChangeLoginName" required>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-4 control-label">ChangeDate:</label>
                            <div class="col-sm-8">
                                <input type="text"  ldatetimepicker name="CommentReplyModel" ng-model="$parent.CommentReplyModel.ChangeDate" required>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="submit" class="btn btn-primary" ng-disabled="_form.$invalid">保存</button>
                    <button type="button" class="btn btn-default" ng-click="$close()">关闭</button>
                </div>
            </form>
            <!--内容区域结束-->
        </div>
    </div>
</div>